package com.fowo.api.model.amazon.advertiser.invoices.campaign;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 广告发票活动 导入导出辅助模型 */
@Getter
@Setter
public class AmazonAdvertiserInvoicesCampaignExcelPo {

  @Size(max = 50, message = "广告活动长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "广告活动")
  private String campaignName;

  @Size(max = 50, message = "活动ID长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "活动ID")
  private String campaignId;

  @Size(max = 50, message = "广告类型长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "广告类型")
  private String adsType;

  @Size(max = 50, message = "计价方式长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "计价方式")
  private String priceType;

  @ExcelProperty(value = "点击")
  private Integer costEventCount;

  @ExcelProperty(value = "平均点击单价")
  private java.math.BigDecimal costPerUnit;

  @ExcelProperty(value = "费用")
  private java.math.BigDecimal costAmount;

  @Size(max = 50, message = "币种长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "币种")
  private String currency;

  @ExcelProperty(value = "其他费用")
  private java.math.BigDecimal otherAllocationFee;

  @Size(max = 1000, message = "承担商品长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "承担商品")
  private String items;
}
